<template>
  <div class="main">
    <el-container class="main-content">
      <!-- 侧边栏 -->
      <el-aside width="210px">
        <mainMenu></mainMenu>
      </el-aside>
      <el-container>
        <el-header>
          <mainHeader></mainHeader>
        </el-header>
        <el-main>
          <router-view> </router-view>
        </el-main>
      </el-container>
    </el-container>
  </div>
</template>
<script lang="ts">
import mainMenu from "@/components/main-menu/MainMenu.vue";
import mainHeader from "@/components/main-header/MainHeader.vue";
</script>
<style>
.main {
  height: 100%;
  width: 100%;
}
.main-content {
  height: 100%;
}
.el-main {
  padding: 0px;
}
</style>
